package com.kmproject.haifu.app;

/**
 * Author: zhangjing
 * DATA:2018/8/23 下午8:42
 * DESC:
 * email:zhangjingworkmol@163.com
 */
public class ApiException extends RuntimeException {
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ApiException(String message, int code) {
        super(message);
        this.code = code;
    }


    public ApiException(String message, Throwable cause) {
        super(message, cause);
    }
}
